projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8e33e3
)
core: Mark `ostree_create_directory_metadata` as `(not nullable)`
author
Colin Walters
<walters@verbum.org>
Fri, 11 Feb 2022 19:09:49 +0000
(14:09 -0500)
committer
Colin Walters
<walters@verbum.org>
Fri, 11 Feb 2022 19:09:49 +0000
(14:09 -0500)
So I can drop an unnecessary use of `unwrap()` in Rust.
src/libostree/ostree-core.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-core.c
b/src/libostree/ostree-core.c
index 038606e98d87cd8c363b144a21b230f15a5cc956..0671ed355fa83666fff7b0bf7871aa0cab0dbef4 100644
(file)
--- a/
src/libostree/ostree-core.c
+++ b/
src/libostree/ostree-core.c
@@
-1141,7
+1141,7
@@
_ostree_compare_object_checksum (OstreeObjectType objtype,
* @dir_info: a #GFileInfo containing directory information
* @xattrs: (allow-none): Optional extended attributes
*
- * Returns: (transfer full): A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META
+ * Returns: (transfer full)
(not nullable)
: A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META
*/
GVariant *
ostree_create_directory_metadata (GFileInfo *dir_info,